package com.zfast.yugioh.bo;

import com.zfast.forge.valid.Create;
import com.zfast.yugioh.model.Card;
import com.zfast.yugioh.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.persistence.Column;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.HashMap;


/**
 * 对战用户信息
 *
 * @author zgn
 * @email
 * @date 2022-06-10 15:16:47
 */
@Data
@SuperBuilder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "UserBo", description = "对战用户信息")
public class UserBo extends User implements Serializable  {
    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("效果")
    private String effects;

    @ApiModelProperty("描述")
    private String decs;

    @ApiModelProperty("默认登场对话")
    private String dialogue;

    @ApiModelProperty("角色等级")
    private Integer roleLevel;

    @ApiModelProperty("角色经验")
    private Integer roleExp;

    @Transient
    @ApiModelProperty("拓展记录")
    HashMap expandMap = new HashMap();

}
